import React, { Component, useState } from 'react'
import './index.css'
export default function Fn() {
 let style = {
    color:'blue',
    fontSize:'23px'
 }
    return <>
    {/* 行内样式 */}
       <div style={{color:'red',fontSize:'30px'}}>样式绑定</div>
       <div style={style}>样式绑定11111</div>
       <div className="foo">外部样式</div>
    </>
}